package cn.edu.hhtc.stsystem.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "T_RK")
public class OrderingEntity {

	@Id
	@Column(name = "RK_ID")
	private Long ordId;//入库编号
	
	@Column(name = "RM_ID")
	private int ordPmId;//商品编号
	
	@Column(name = "RM_NAME")
	private String ordPmName;//商品名
	
	@Column(name = "QS_NAME")
	private String ordSuName;//供应商名
	
	@Column(name = "RM_PRICE")
	private double ordPmPrice;//单价
	
	@Column(name = "RK_COUNT")
	private int ordCount;//数量
	
	@Column(name = "RK_SUM")
	private double ordSum;//总额
	
	@Column(name = "RK_TIME")
	private Date ordTime;//入库时间
	
	@Column(name = "RK_PERSON")
	private String ordPerson;//经手人
	
	@Column(name = "RK_GATHERING")
	private String ordGathering;//收款方式

	public OrderingEntity() {
		super();
	}

	public OrderingEntity(Long ordId, int ordPmId, String ordPmName,
			String ordSuName, double ordPmPrice, int ordCount, double ordSum,
			Date ordTime, String ordPerson, String ordGathering) {
		super();
		this.ordId = ordId;
		this.ordPmId = ordPmId;
		this.ordPmName = ordPmName;
		this.ordSuName = ordSuName;
		this.ordPmPrice = ordPmPrice;
		this.ordCount = ordCount;
		this.ordSum = ordSum;
		this.ordTime = ordTime;
		this.ordPerson = ordPerson;
		this.ordGathering = ordGathering;
	}

	public Long getOrdId() {
		return ordId;
	}

	public void setOrdId(Long ordId) {
		this.ordId = ordId;
	}

	public int getOrdPmId() {
		return ordPmId;
	}

	public void setOrdPmId(int ordPmId) {
		this.ordPmId = ordPmId;
	}

	public String getOrdPmName() {
		return ordPmName;
	}

	public void setOrdPmName(String ordPmName) {
		this.ordPmName = ordPmName;
	}

	public String getOrdSuName() {
		return ordSuName;
	}

	public void setOrdSuName(String ordSuName) {
		this.ordSuName = ordSuName;
	}

	public double getOrdPmPrice() {
		return ordPmPrice;
	}

	public void setOrdPmPrice(double ordPmPrice) {
		this.ordPmPrice = ordPmPrice;
	}

	public int getOrdCount() {
		return ordCount;
	}

	public void setOrdCount(int ordCount) {
		this.ordCount = ordCount;
	}

	public double getOrdSum() {
		return ordSum;
	}

	public void setOrdSum(double ordSum) {
		this.ordSum = ordSum;
	}

	public Date getOrdTime() {
		return ordTime;
	}

	public void setOrdTime(Date ordTime) {
		this.ordTime = ordTime;
	}

	public String getOrdPerson() {
		return ordPerson;
	}

	public void setOrdPerson(String ordPerson) {
		this.ordPerson = ordPerson;
	}

	public String getOrdGathering() {
		return ordGathering;
	}

	public void setOrdGathering(String ordGathering) {
		this.ordGathering = ordGathering;
	}
	
	
}
